package com.ambow.dao;

import java.util.List;

import com.ambow.Entity.Bclass;
import com.ambow.Entity.Category;
import com.ambow.Entity.Level;
import com.ambow.Entity.Major;
import com.ambow.Entity.PackageBook;
import com.ambow.Entity.Stock;
import com.ambow.Entity.Student;

public interface PackageDao {
	Stock querybook(String hql,String param[]);//从库存里查询教材
	boolean addPackageBook(PackageBook pBook);//编辑套书
	List<PackageBook> queryPackageBook(String hql, String[] param);
	List<PackageBook> queryAll(String hql);//查询所有套书信息
	List<Bclass> queryAllBclass(String hql);//查询班级


	PackageBook queryById(Class c, Integer package_id);
	Category queryCategoryById(Integer cid);//类别
	Major queryMajorById(Integer mid);//专业
	Level queryLevelById(Integer lid);//层次
	Bclass queryBclassById(Integer classid);
	List<Student> queryAllStudent(String hql);
	
	
}
